@import './iconfont.css';
@import "../../components/font/iconfont.css";
@font-face {
	font-family: 'iconfont';
	src: url('~@/static/iconfont/iconfont.eot');
	src: url('~@/static/iconfont/iconfont.eot?#iefix') format('embedded-opentype'),
		url('~@/static/iconfont/iconfont.woff2') format('woff2'),
		url('~@/static/iconfont/iconfont.woff') format('woff'),
		url('~@/static/iconfont/iconfont.ttf') format('truetype'),
		url('~@/static/iconfont/iconfont.svg#iconfont') format('svg');
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-member-price1:before,.icon-member-price2:before {
  content: "\e60b";
}

.icon-member-price3:before,.icon-member-price4:before {
  content: "\e607";
}

.icon-plus1:before, .icon-plus2:before {
  content: "\e60c";
}

.icon-plus3:before, .icon-plus4:before {
  content: "\e609";
}

.icon-plus5:before, .icon-plus6:before {
  content: "\e608";
}
.icon_left{
  margin-right:  2px;
  font-size: 12px;
}
.icon_right{
  margin-left: 2px;
  font-size: 12px;
}
.diy-goods {
    overflow: hidden;
    box-sizing: border-box;
	width: 100%;
}
.diy-goods span{
	line-height: 20px;
}

.diy-goods .goods-list {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}
.diy-goods .goods-list .goods {
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}
.diy-goods .goods-list .goods .link {
    box-sizing: border-box;
    border-radius: 20rpx;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.diy-goods .goods-list .goods .link .goods-info-wrap {
    box-sizing: border-box;
    flex: 1;
}

.diy-goods .goods-list .goods .link.link-card-type-1 {
    border: none;
    background-color: #fff;
}
.diy-goods .goods-list .goods .link.link-card-type-2 {
    background-color: #fff;
    border-radius: 20rpx;
    box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
}
.diy-goods .goods-list .goods .link.link-card-type-3 {
    border: 1px solid #ededed;
    background-color: #fff;
    border-radius: 20rpx;
}
.diy-goods .goods-list .goods .link.link-card-type-4 {
    border: none;
    background: transparent;
    border-radius: 20rpx;
}
.diy-goods .goods-list .goods .img {
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    flex-shrink: 0;
}
.diy-goods .goods-list .goods .img .corner-mark {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 24rpx;
    max-width: 100%;
}
.diy-goods .goods-list .goods .img .corner-mark .corner-mark-text {
    padding: 10rpx 20rpx;
    margin-left: 20rpx;
}
.diy-goods .goods-list .goods .goods-info-box {
    padding: 20rpx;
    height: 100%;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: space-between;
}
.diy-goods .goods-list .goods .goods-info-box .title {
    line-height: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
    margin-bottom: 16rpx;
}
.diy-goods .goods-list .goods .goods-info-box .title.line2 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: pre-wrap;
}
.diy-goods .goods-list .goods .goods-info-box .price-cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
	position: relative;
}

.diy-goods .goods-list .goods .goods-info-box .price-cart > view {
    margin-top: 20rpx;
}

.diy-goods .goods-list .goods .goods-info-box .price-cart .price.line2 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: pre-wrap;
}
.diy-goods .goods-list.two-per-line .goods {
    width: 50%;
}
.diy-goods .goods-list.three-per-line .goods {
    width: 33.3%;
}
.diy-goods .goods-list.horizontal-scroll {
    box-sizing: border-box;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}
.diy-goods .goods-list.horizontal-scroll .goods {
    width: 33.3%;
}
.diy-goods .goods-list.one-big-two-small .goods:nth-child(3n) {
    width: 50%;
}
.diy-goods .goods-list.one-big-two-small .goods:nth-child(3n + 1) {
    width: 100%;
}
.diy-goods .goods-list.one-big-two-small .goods:nth-child(3n + 2) {
    width: 50%;
}
.diy-goods .goods-list.list .goods {
    width: 100%;
}
.diy-goods .goods-list.list .goods .link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    overflow: hidden;
}
.diy-goods .goods-list.list .goods .link .img {
    width: 300rpx;
    height: 300rpx;
    flex-shrink: 0;
}
.diy-goods .goods-list.list .goods .link .goods-info-wrap {
    width: calc(100% - 300rpx);
}
.diy-goods .goods-list.list .goods .link .goods-info-wrap .goods-info-box {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300rpx;
}

.diy-goods .goods-list.list-snapup .goods {
    width: 100%;
}
.diy-goods .goods-list.list-snapup .goods .link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}
.diy-goods .goods-list.list-snapup .goods .link .img {
    width: 240rpx;
    height: 240rpx;
    flex-shrink: 0;
}
.diy-goods .goods-list.list-snapup .goods .link .goods-info-wrap {
    width: calc(100% - 300rpx);
}
.diy-goods .goods-list.list-snapup .goods .link .goods-info-wrap .goods-info-box {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* height: 300rpx; */
}

.noSetting {
    width: 100%;
    height: 200rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44rpx;
}
/* image {
    background: transparent;
} */

.el-button {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266 !important;
    -webkit-appearance: none;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
    margin: 0;
    -webkit-transition: 0.1s;
    transition: 0.1s;
    font-weight: 500;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
}

.el-button--mini,
.el-button--small {
    font-size: 12px;
    border-radius: 3px;
}
.el-button--mini,
.el-button--mini.is-round {
    padding: 7px 15px;
}
